﻿<navigation:Page
  x:Class="RIA.NTiersApp.Home"
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
  mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480"
  Style="{StaticResource PageStyle}" 
    xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit"
    xmlns:globals="clr-namespace:RIA.NTiersApp.Globals"
    >
    <navigation:Page.DataContext>
        <globals:ListCacheLoader></globals:ListCacheLoader>
    </navigation:Page.DataContext>
        <Grid x:Name="LayoutRoot">
        <toolkit:BusyIndicator  IsBusy="{Binding IsBusy}" Name="busyIndicator1"  >
               <ScrollViewer x:Name="PageScrollViewer" Style="{StaticResource PageScrollViewerStyle}" >

                  <StackPanel x:Name="ContentStackPanel" Style="{StaticResource ContentStackPanelStyle}">

                    <TextBlock x:Name="HeaderText" Style="{StaticResource HeaderTextStyle}"
                                       Text="{Binding Path=ApplicationStrings.HomePageTitle, Source={StaticResource ResourceWrapper}}"/>
                
                            <TextBlock x:Name="ContentText" Style="{StaticResource ContentTextStyle}"
                                       Text="Home page content"/>
                        </StackPanel>

                </ScrollViewer>
            </toolkit:BusyIndicator>
  </Grid>

</navigation:Page>